package com.daogu.fuelcard.enums;

/**
 * @author daogu
 */

public enum CheckStatusEnum {

    /**
     * 未校验
     */
    UN_CHECK(1,"未校验"),

    /**
     * 校验通过
     */
    CHECK_PASS(2,"校验通过"),

    /**
     * 校验不通过
     */
    CHECK_FAIL(3,"已核销");

    private final Integer code;

    private final String desc;

    CheckStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    @Override
    public String toString() {
        return "CheckStatusEnum{" +
                "code=" + code +
                ", desc='" + desc + '\'' +
                '}';
    }
}
